package cn.tedu.mapper;

import cn.tedu.entity.MenusEntity;
import cn.tedu.vo.Node;
import cn.tedu.vo.SysUserMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<MenusEntity> {

    List<SysUserMenu> findMenuByIds(List<Integer> menuIds);

    List<MenusEntity> findObjects();

    List<Node> doFindZtreeMenuNodes();
}
